package com.cn.bean;

import org.dom4j.Element;

/**
 * @author sushy
 * @date 2016-3-23
 */
public interface XmlCapacity extends java.io.Serializable {

	/**
	 * 实例化
	 * 
	 * @return
	 */
	public XmlCapacity newInstance();

	/**
	 * 序列化
	 * 
	 * @return
	 */
	public void serialize(Element parentEle, String localName);

	/**
	 * 反序列化
	 * 
	 * @param localEle
	 */
	public void unserialize(Element localEle);

}
